package com.maxsalad.common.exception;

/**
 * Created by 2014-400 on 2016-03-07.
 */
public class NoRollbackException extends RuntimeException {

    private String message;

    public NoRollbackException(String message) {
        super(message);
        this.message = message;
    }

    public NoRollbackException(String message, Exception e) {
        super(message, e);
        this.message = message;

    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
